autoplay = !0;
for (var mySwiper = new Swiper(".swiper-container", {
        autoplay: 3E3,
        progress: !0,
        speed: 1E3,
        paginationClickable: !0,
        loop: !0,
        // onProgressChange: function(a) {
        //     for (var c = 0; c < a.slides.length; c++) {
        //         var d = a.slides[c],
        //             b = d.progress,
        //             e;
        //         0 < b ? (e = .9 * b * a.width, scale = 1 - .1 * b, 1 < b && (scale = .9), txtPositionX = 0, txtPositionY = 30 * b + "px") : (e = 0, scale = 1, txtPositionX = 1E3 * -b + "px", txtPositionY = 0);
        //         for (var b = d.querySelectorAll(".txt"), f = 0; f < b.length; f++) a.setTransform(b[f], "translate3d(" + txtPositionX + "," + txtPositionY + ",0)");
        //         a.setTransform(d, "translate3d(" +
        //             e + "px,0,0) scale(" + scale + ")")
        //     }
        // },
        onTouchStart: function(a) { for (var c = 0; c < a.slides.length; c++) { a.setTransition(a.slides[c], 0); for (var d = a.slides[c].querySelectorAll(".txt"), b = 0; b < d.length; b++) a.setTransition(d[b], 0) } },
        onSetWrapperTransition: function(a, c) { for (var d = 0; d < a.slides.length; d++) { a.setTransition(a.slides[d], c); for (var b = a.slides[d].querySelectorAll(".txt"), e = 0; e < b.length; e++) a.setTransition(b[e], c) } },
        onSlideChangeStart: function(a) {
            autoplay ? (0 == a.activeLoopIndex && ($(".pagination li").removeClass("current"),
                $(".pagination li").eq(0).removeClass("replace")), 1 == a.activeLoopIndex && $(".pagination li").eq(0).removeClass("firstCurrent current").addClass("replace")) : $(".pagination li").removeClass("current firstCurrent click");
            $(".pagination li").eq(a.activeLoopIndex).addClass("current").siblings().removeClass('current')
        },
        onFirstInit: function(a) { $(".pagination li").eq(0).addClass("firstCurrent") },
        onAutoplayStop: function() {
            autoplay = !1;
            $(".autoplay").removeClass("autoplay")
        }
    }), i = 0; i < mySwiper.slides.length; i++) mySwiper.slides[i].style.zIndex =
    i;
$(".arrow-left").on("click", function(a) {
    a.preventDefault();
    mySwiper.swipePrev()
});
$(".arrow-right").on("click", function(a) {
    a.preventDefault();
    mySwiper.swipeNext()
});
$(".pagination li").on("touchstart mousedown", function(a) {
    a.preventDefault();
    autoplay && (autoplay = !1, mySwiper.stopAutoplay(), $(this).addClass("click"));
    mySwiper.swipeTo($(this).index())
});
window.onresize = function() { mySwiper.reInit() };